import os

from Tools.tools import fasong,log


import pytest
if __name__ == '__main__':
    log()
    pytest.main(['./testcase/testcase.py','-s', '--alluredir=./report/allureprot','--html=./report/baogao.html'])
    os.system('allure generate ./report/allureprot/ -o ./report/allure-html --clean')



    fasong(['report/allure-html/index.html','report/baogao.html','log/log.log'])
